package com.by.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName
public class Attr {

    @TableId(value = "attr_id", type = IdType.AUTO)
    Integer id;
    String name;

    @TableField(exist = false)
    List<AttrValue> attrValues;
}
